#pragma once
#include "ResourceHelper.h"
#include "FileCommon.h"
#include "CParse.h"

class LogHelper
{
public:
	void SetExportList(wstring logDir, vector<wstring> &exportList);
	wstring GetLatestLog(int ID, wstring name);
	wstring GetLatestLog(wstring IDNameStr);
private:
	void AddFile(wstring fileStr,vector<wstring> &exportList);
	void ModifyFile(wstring fileStr, vector<wstring> &exportList);
	void RemoveFile(wstring fileStr, vector<wstring> &exportList);
	void RenameFile(wstring fileStr, vector<wstring> &exportList);
};

